<?php $this->layout= 'userDefault'; ?>
<div class="error"><?php echo $this->Session->flash();?></div>
<div class="users form">
	<?php echo $this->Session->flash('auth'); ?>
	<?php echo $this->Form->create('User', array('action' => 'login')); ?>
	<fieldset>
	<?php
		echo $this->Form->input('username', array( 'label' => 'Usuario' ));
		echo $this->Form->input('password', array( 'label' => 'Contrase&ntilde;a' ));
	?>
	</fieldset>

	<?php
		$options = array('class' => 'btn btn-primary', 'label' => 'Iniciar');
		echo $this->Form->end($options);
	?>
</div>

